
import java.util.Random;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Random  random = new Random();
        int r = random.nextInt(10)+1;
        while(true){
            Scanner scar = new Scanner(System.in);
            int s = scar.nextInt();
            if(r>s){
                System.out.println("小了");
            }else if(r<s){
                System.out.println("大了");
            }else {
                System.out.println("找到了");
                System.out.println(r);
                break;
            }
        }
    }
}